package com.code.Day12Meiju.YiChang.KongZZ;


import java.util.ArrayList;

public class Test01 {
    public static void main(String[] args) {
        Dome03 dome03 = new Dome03("柳岩", 18);
        System.out.println(dome03);
        System.out.println(dome03.toString());//直接输出类名就相当于默认调用toString


        ArrayList<String> list = new ArrayList<>();
        list.add("1");
        list.add("2");
        System.out.println(list.toString());



    }
}
